package bb.lanxing.model.json.level;

import com.alibaba.fastjson.annotation.JSONField;
import java.util.List;

public class LevelRule {
    @JSONField(name = "bangCreate")
    private List<Integer> bangCreateCountList;
    @JSONField(name = "teamCreate")
    private List<Integer> clubCreateCountList;
    @JSONField(name = "hots")
    private List<Integer> levelHotList;
    @JSONField(name = "levelName")
    private List<String> levelNameList;
    @JSONField(name = "lushuDownload")
    private List<Integer> lushuDownloadCountList;
    @JSONField(name = "medalHang")
    private List<Integer> medalHangCountList;
    @JSONField(name = "creditsConsume")
    private RuleConsume ruleConsume;
    @JSONField(name = "level_desc")
    private List<List<RuleDetail>> ruleDetailLists;
    private List<TiroCoupon> tiroCouponInfoList;
    @JSONField(name = "coupon")
    private List<Integer> tiroCouponLevelList;
    @JSONField(name = "levelPush")
    private List<List<String>> upgradeDescLists;
    @JSONField(name = "workout3D")
    private List<Integer> workout3DCountList;
    @JSONField(name = "workoutExport")
    private List<Integer> workoutExportCountList;

    public String getLevelTag(int i) {
        return "Lv." + i;
    }

    public int getLevelHots(int i) {
        return this.levelHotList.get(i);
    }

    public int getTargetHots(int i) {
        return getLevelHots(getTargetLevel(i));
    }

    public int getTargetLevel(int i) {
        return i < getLevelCount() + (-1) ? i + 1 : i;
    }

    public String getLevelName(int i) {
        return this.levelNameList.get(i);
    }

    public int getLevelCount() {
        List<List<RuleDetail>> list = this.ruleDetailLists;
        if (list == null) {
            return 0;
        }
        return list.size();
    }

    public List<RuleDetail> getRuleDetailList(int i) {
        List<List<RuleDetail>> list = this.ruleDetailLists;
        if (list == null) {
            return null;
        }
        return list.get(i);
    }

    public List<String> getUpgradeDescList(int i) {
        List<List<String>> list = this.upgradeDescLists;
        if (list == null) {
            return null;
        }
        return list.get(i);
    }

    public List<Integer> getLevelHotList() {
        return this.levelHotList;
    }

    public void setLevelHotList(List<Integer> list) {
        this.levelHotList = list;
    }

    public List<String> getLevelNameList() {
        return this.levelNameList;
    }

    public void setLevelNameList(List<String> list) {
        this.levelNameList = list;
    }

    public List<Integer> getWorkoutExportCountList() {
        return this.workoutExportCountList;
    }

    public void setWorkoutExportCountList(List<Integer> list) {
        this.workoutExportCountList = list;
    }

    public List<Integer> getWorkout3DCountList() {
        return this.workout3DCountList;
    }

    public void setWorkout3DCountList(List<Integer> list) {
        this.workout3DCountList = list;
    }

    public List<Integer> getLushuDownloadCountList() {
        return this.lushuDownloadCountList;
    }

    public void setLushuDownloadCountList(List<Integer> list) {
        this.lushuDownloadCountList = list;
    }

    public List<Integer> getClubCreateCountList() {
        return this.clubCreateCountList;
    }

    public void setClubCreateCountList(List<Integer> list) {
        this.clubCreateCountList = list;
    }

    public List<Integer> getBangCreateCountList() {
        return this.bangCreateCountList;
    }

    public void setBangCreateCountList(List<Integer> list) {
        this.bangCreateCountList = list;
    }

    public List<Integer> getMedalHangCountList() {
        return this.medalHangCountList;
    }

    public void setMedalHangCountList(List<Integer> list) {
        this.medalHangCountList = list;
    }

    public List<Integer> getTiroCouponLevelList() {
        return this.tiroCouponLevelList;
    }

    public void setTiroCouponLevelList(List<Integer> list) {
        this.tiroCouponLevelList = list;
    }

    public List<List<RuleDetail>> getRuleDetailLists() {
        return this.ruleDetailLists;
    }

    public void setRuleDetailLists(List<List<RuleDetail>> list) {
        this.ruleDetailLists = list;
    }

    public List<List<String>> getUpgradeDescLists() {
        return this.upgradeDescLists;
    }

    public void setUpgradeDescLists(List<List<String>> list) {
        this.upgradeDescLists = list;
    }

    public List<TiroCoupon> getTiroCouponInfoList() {
        return this.tiroCouponInfoList;
    }

    public void setTiroCouponInfoList(List<TiroCoupon> list) {
        this.tiroCouponInfoList = list;
    }

    public RuleConsume getRuleConsume() {
        return this.ruleConsume;
    }

    public void setRuleConsume(RuleConsume ruleConsume) {
        this.ruleConsume = ruleConsume;
    }
}
